package com.hyzx.qbasic.admin.domain.service;

import com.github.pagehelper.PageInfo;
import com.hyzx.qbasic.admin.model.po.ProcessCategoryPO;
import com.hyzx.qbasic.admin.model.vo.req.admin.AddProcessCategoryReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.DeleteProcessCategoryReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.EditProcessCategoryReq;
import com.hyzx.qbasic.admin.model.vo.req.admin.GetProcessCategoryListReq;
import com.hyzx.qbasic.admin.model.vo.res.BaseOperationRes;

import java.util.List;

/**
 * Created by 黄江华 on 2018/11/21
 */

public interface IProcessCategoryService {
    List<ProcessCategoryPO> getAllProcessCategoryList();

    PageInfo<ProcessCategoryPO> getPagedProcessCategoryList(GetProcessCategoryListReq req);

    BaseOperationRes addProcessCategory(AddProcessCategoryReq req);

    BaseOperationRes deleteProcessCategory(DeleteProcessCategoryReq req);

    ProcessCategoryPO getProcessCategoryById(int processCategoryId);

    BaseOperationRes editProcessCategory(EditProcessCategoryReq req);
}
